/**
 * Copyright 2009 tragicphantom
 *
 * This file is part of stdf4j.
 *
 * Stdf4j is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Stdf4j is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with stdf4j.  If not, see <http://www.gnu.org/licenses/>.
**/
package com.tragicphantom.stdf;

import java.util.ArrayList;

public class RecordDescriptor{
   private String           type;
   private RecordType       rt;
   private ArrayList<Field> fields;

   public RecordDescriptor(String type, RecordType rt, ArrayList<Field> fields){
      this.type   = type;
      this.rt     = rt;
      this.fields = fields;
   }

   public String getType(){
      return type;
   }

   public RecordType getRecordType(){
      return rt;
   }

   public ArrayList<Field> getFields(){
      return fields;
   }
}
